home *** CD-ROM | disk | FTP | other *** search
- Path: richardc.demon.co.uk!Richard
- From: Richard Clarke <Richard@richardc.demon.co.uk>
- Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.lang.c++
- Subject: Re: Controls in non-dialog (mfc)
- Date: Wed, 10 Apr 1996 19:58:08 +0100
- Organization: None
- Distribution: world
- Message-ID: <pmWx$CAATAbxEwDp@richardc.demon.co.uk>
- References: <4k81um$s8t@pub.news.uk.psi.net>
- NNTP-Posting-Host: richardc.demon.co.uk
- X-NNTP-Posting-Host: richardc.demon.co.uk
- MIME-Version: 1.0
- X-Newsreader: Turnpike Version 1.12 <G2pIptdb7w+Z8vip1Rvj+G91cN>
-
- In article <4k81um$s8t@pub.news.uk.psi.net>, andrew oxenburgh <andrew.ox
- enburgh@private.nethead.co.uk> writes
- >sj2393@ansys.com (Steve Jones) writes:
- >> How in MFC does one go about embedding a control within a
- >> window that is not a dialog box? For example, I can
- >> construct and Create() a CEdit object within a CView derived
- >> class, but nothing (apparently) happens. I knew when I
- >> tried it something wasn't quite right; I wasn't sure what to
- >> use for the nID. Is it necessary to use a resource?
- >>
- >>
- >> steve
- >>
- >> stevejones@ansys.com
- >>
- >
- >
- >Steve, I'm an OWL programmer, not an MFC Programmer, but I'd say
- >you also have to Show(SW_SHOW) to the CEdit. ???
-
- Why not try the CFormView class? This is based on a dialog template,
- very nice and simple to use.
-
- Good luck
-
- --
- Richard Clarke
-